from django.urls import re_path
from main import consumers
websocket_urlpatterns = [
    # 手机连接
    re_path(r"room/(?P<group>\w+)/(?P<type>\w+)/(?P<userid>\w+)",consumers.ChatConsumer.as_asgi()),
    # 小车连接
    re_path(r"room/(?P<group>\w+)", consumers.ChatConsumer.as_asgi())

]